package com.csxy.xxm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.xxm.entity.EduSubject;
import com.csxy.xxm.entity.vo.OneSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface EduSubjectService extends IService<EduSubject> {
    // 获取所有一级分类
    List<OneSubject> getAllOneTwoSubject();
    //读取excel文件内容，添加到数据库中，EduSubjectService需要手动
    void saveSubject(MultipartFile file, EduSubjectService eduSubjectService);


}
